from django.urls import path

from user.views import rigest,login,logout,center,changepwd,active,ArticleManagerListView,AritcleModleDeleteView,ArticleModleDetailView

app_name = 'user'


urlpatterns = [

    path('rigest/',rigest,name='rigest'),
    path('login/',login,name='login'),
path('logout/',logout,name='logout'),
path('center/',center,name='center'),
path('changepwd/',changepwd,name='changepwd'),
path('active/<int:id>',active,name='active'),
path('article_manange/',ArticleManagerListView.as_view(),name='manage'),
path("article_delete/<int:pk>",AritcleModleDeleteView.as_view(),name="delete"),
    path('article_detail/<int:pk>', ArticleModleDetailView.as_view(), name='detail'),
]


